package site.shihuan.helpdesk.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Properties配置
 *
 * @author 周世焕
 * @Date 2021/1/29 09:50
 */
@Component
@ConfigurationProperties(prefix = "auth")
@Data
public class AuthConfiguration {

    private int maxTryCount = 5;

    private int lockTime = 5;

}
